package com.itheima.htmo_01.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class QuestionsPageVO {

    private Long id;

    private String title;

    private String description;

    private List<Integer> imageIds;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime creatTime;

    private String username;

    /**
     * 用户头像图片Id
     */
    private String avatar;
}
